how to find the area under the curve in origin